fixed a stupid error of mine about the run type values.
authorTim Janik <timj@gtk.org>
Tue, 1 Dec 1998 01:22:37 +0000 (01:22 +0000)
committerTim Janik <timj@src.gnome.org>
Tue, 1 Dec 1998 01:22:37 +0000 (01:22 +0000)
Tue Dec  1 02:19:54 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtkenums.h: fixed a stupid error of mine about the run type
        values.

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkenums.h

index 5e745adb0c7c1c8b1b70c8225daaa5acfa3f5588..01f5c5ffbfe3f9ee3b82c4d3f4ef594d9f7b82a8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Tue Dec  1 02:19:54 1998  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkenums.h: fixed a stupid error of mine about the run type
+       values.
+
 1998-11-30  Elliot Lee  <sopwith@cuc.ml.org>
 
        * {gdk,gtk}/*.c: Make read-only data structures "static const" to
index 5e745adb0c7c1c8b1b70c8225daaa5acfa3f5588..01f5c5ffbfe3f9ee3b82c4d3f4ef594d9f7b82a8 100644 (file)
@@ -1,3 +1,8 @@
+Tue Dec  1 02:19:54 1998  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkenums.h: fixed a stupid error of mine about the run type
+       values.
+
 1998-11-30  Elliot Lee  <sopwith@cuc.ml.org>
 
        * {gdk,gtk}/*.c: Make read-only data structures "static const" to
index 5e745adb0c7c1c8b1b70c8225daaa5acfa3f5588..01f5c5ffbfe3f9ee3b82c4d3f4ef594d9f7b82a8 100644 (file)
@@ -1,3 +1,8 @@
+Tue Dec  1 02:19:54 1998  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkenums.h: fixed a stupid error of mine about the run type
+       values.
+
 1998-11-30  Elliot Lee  <sopwith@cuc.ml.org>
 
        * {gdk,gtk}/*.c: Make read-only data structures "static const" to
index 5e745adb0c7c1c8b1b70c8225daaa5acfa3f5588..01f5c5ffbfe3f9ee3b82c4d3f4ef594d9f7b82a8 100644 (file)
@@ -1,3 +1,8 @@
+Tue Dec  1 02:19:54 1998  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkenums.h: fixed a stupid error of mine about the run type
+       values.
+
 1998-11-30  Elliot Lee  <sopwith@cuc.ml.org>
 
        * {gdk,gtk}/*.c: Make read-only data structures "static const" to
index 5e745adb0c7c1c8b1b70c8225daaa5acfa3f5588..01f5c5ffbfe3f9ee3b82c4d3f4ef594d9f7b82a8 100644 (file)
@@ -1,3 +1,8 @@
+Tue Dec  1 02:19:54 1998  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkenums.h: fixed a stupid error of mine about the run type
+       values.
+
 1998-11-30  Elliot Lee  <sopwith@cuc.ml.org>
 
        * {gdk,gtk}/*.c: Make read-only data structures "static const" to
index 5e745adb0c7c1c8b1b70c8225daaa5acfa3f5588..01f5c5ffbfe3f9ee3b82c4d3f4ef594d9f7b82a8 100644 (file)
@@ -1,3 +1,8 @@
+Tue Dec  1 02:19:54 1998  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkenums.h: fixed a stupid error of mine about the run type
+       values.
+
 1998-11-30  Elliot Lee  <sopwith@cuc.ml.org>
 
        * {gdk,gtk}/*.c: Make read-only data structures "static const" to
index 5e745adb0c7c1c8b1b70c8225daaa5acfa3f5588..01f5c5ffbfe3f9ee3b82c4d3f4ef594d9f7b82a8 100644 (file)
@@ -1,3 +1,8 @@
+Tue Dec  1 02:19:54 1998  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkenums.h: fixed a stupid error of mine about the run type
+       values.
+
 1998-11-30  Elliot Lee  <sopwith@cuc.ml.org>
 
        * {gdk,gtk}/*.c: Make read-only data structures "static const" to
index 3dd9a8aa77337418bb36f903b87dc48ea4409d70..0d228ea2f776354ea843e09f3e79e66a2337198f 100644 (file)
@@ -158,7 +158,8 @@ typedef enum
 typedef enum
 {
   GTK_POLICY_ALWAYS,
-  GTK_POLICY_AUTOMATIC
+  GTK_POLICY_AUTOMATIC,
+  GTK_POLICY_NEVER
 } GtkPolicyType;
 
 typedef enum
@@ -194,12 +195,12 @@ typedef enum
 /* signal run types */
 typedef enum                   /*< flags >*/
 {
-  GTK_RUN_FIRST      = 0x01,
-  GTK_RUN_LAST       = 0x02,
+  GTK_RUN_FIRST      = 1 << 0,
+  GTK_RUN_LAST       = 1 << 1,
   GTK_RUN_BOTH       = (GTK_RUN_FIRST | GTK_RUN_LAST),
-  GTK_RUN_NO_RECURSE = 0x10,
-  GTK_RUN_ACTION     = 0x20,
-  GTK_RUN_NO_HOOKS   = 0x30
+  GTK_RUN_NO_RECURSE = 1 << 2,
+  GTK_RUN_ACTION     = 1 << 3,
+  GTK_RUN_NO_HOOKS   = 1 << 4
 } GtkSignalRunType;
 
 /* scrolling types */